Does anyone know what causes the following compiler warnings (MS VC++ 4.0):
Compiling...
Vec1.cpp
\tctools\stl\iterator.h(64) : warning C4114: same type qualifier used more than once
\tctools\stl\iterator.h(64) : warning C4114: same type qualifier used more than once
Vec1.obj - 0 error(s), 2 warning(s)
(Here's what the docs say about this warning:
same type qualifier used more than once
A type qualifier (const, volatile, signed, or unsigned) was used more than once in the same type declaration or definition.
The second occurrence of the qualifier was ignored. This is a warning when Microsoft extensions are enabled (/Ze) and an error when extensions are disabled (/Za).
The following is an example of this warning:
volatile volatile int i; // warning)
I get these warnings when I compile ObjectSpace's vec1.cpp example:
// Copyright (c) 1995 by ObjectSpace, Inc. All rights reserved.